home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 9
/
The PC-SIG Library on CD ROM - Ninth Edition.iso
/
1601_700
/
DISK1634
/
DISK1634.ZIP
/
EXCLUDE.DOC
< prev
next >
Wrap
Text File
|
1989-11-17
|
839b
|
23 lines
EXCLUDE
=======
File Name : EXCLUDE.COM
Syntax : EXCLUDE <filespecs> <dos command>
Purpose : To exclude the files in <filespecs> from the DOS Command
that follows
Remarks : Exclude works by setting the hidden bits for all files in
<filespecs>, and then load COMMAND.COM to execute <dos
command>. COMMAND.COM must be available, and you should
use the COMSPEC environment variable to make sure that it
points to where COMMAND.COM actually is. (Users with only
floppy disks beware!).
<dos command> can be any DOS command. Once the command has
executed, EXCLUDE resets the hidden bits on all the files
that it hid. Most DOS commands such as delete and copy do
not work on hidden files.